package com.bnz.service;

import com.bnz.pojo.Student1;

import java.io.IOException;
import java.util.List;

public interface StudentService {
    List<Student1> findAll() throws IOException;

    void add(Student1 student) throws IOException;


    Student1 findById(int sid) throws IOException;

    void updateById(Student1 student) throws IOException;

    void deleteById(int sid) throws IOException;
}
